package main

import (
	_ "beeNewProject2/routers"
	"fmt"
	beego "github.com/beego/beego/v2/server/web"
	"runtime"
)

func main() {
	version := runtime.Version()
	fmt.Println("Beego 版本号:", version)
	// 确保 int 类型路由先注册
	//beego.Router("/getUserInfo/:id:int", &controllers.RegController{})
	//beego.Router("/getUserInfo/:username:string", &controllers.RegController{})
	beego.Run()
}
